/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * ListarUsuarios.java
 *
 * Created on 08/09/2011, 03:54:08 AM
 */
package Ventanas;

import Objetos.PropiedadesIP;
import Proxies.DataEventoArray;
import Proxies.DataUsuarioArray;
import java.util.List;
import java.util.ListIterator;
import javax.swing.DefaultListModel;
import javax.swing.table.DefaultTableModel;
import Proxies.CtrlUsuariosWS;
import Proxies.CtrlUsuariosWSService;
import java.net.MalformedURLException;
import java.net.URL;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Collections;
import java.util.Iterator;
import javax.swing.JOptionPane;
import javax.swing.RowFilter;
import javax.swing.table.TableModel;
import javax.swing.table.TableRowSorter;
import java.util.Date;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.ImageIcon;
import javax.xml.namespace.QName;

/**
 *
 * @author Mathias
 */
public class ListarUsuarios extends javax.swing.JFrame {

    /** Creates new form ListarUsuarios */
    CtrlUsuariosWS amista;
    String nomUsuario;

    public ListarUsuarios() {
        initComponents();
        
        PropiedadesIP props = PropiedadesIP.getInstance();
        String IP = props.getServidorCentralIP();
        URL dirUsr = null;
        try {
            dirUsr = new URL(IP + "CtrlUsuarios?wsdl");
        } catch (MalformedURLException ex) {
            Logger.getLogger(ListarUsuarios.class.getName()).log(Level.SEVERE, null, ex);
        }
        QName qNaUsr = new QName("http://WebServices/", "CtrlUsuariosWSService");
        amista = new CtrlUsuariosWSService(dirUsr, qNaUsr).getCtrlUsuariosWSPort();
        
        Object[] fila = new Object[3];
        amista.listarDUsuarios();
        Iterator<Proxies.DataUsuario> itera = amista.listaUsuarios().getItem().iterator();
        Proxies.DataUsuario usr;
        DefaultTableModel model = (DefaultTableModel) Table_buscarUsr.getModel();
        while (itera.hasNext()) {
            usr = itera.next();
            fila[0] = usr.getNombre();
            fila[1] = usr.getNick();
            fila[2] = usr.getCorreo();
            model.addRow(fila);
            Table_buscarUsr.setRowSelectionInterval(0, 0);
        }

    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jScrollPane1 = new javax.swing.JScrollPane();
        vListaAmigos = new javax.swing.JTable();
        jNick = new javax.swing.JLabel();
        jLabel10 = new javax.swing.JLabel();
        vBuscar = new javax.swing.JButton();
        jLabel3 = new javax.swing.JLabel();
        TextField_BuscarUsuario = new javax.swing.JTextField();
        jScrollPane4 = new javax.swing.JScrollPane();
        Table_buscarUsr = new javax.swing.JTable();
        vNombre = new javax.swing.JLabel();
        vNombre2 = new javax.swing.JLabel();
        vNick = new javax.swing.JLabel();
        vNick2 = new javax.swing.JLabel();
        vCorreo = new javax.swing.JLabel();
        vCorreo2 = new javax.swing.JLabel();
        vNacimiento = new javax.swing.JLabel();
        vNacimiento2 = new javax.swing.JLabel();
        vSexo = new javax.swing.JLabel();
        vSexo2 = new javax.swing.JLabel();
        vCiudad = new javax.swing.JLabel();
        vCiudad2 = new javax.swing.JLabel();
        vPais = new javax.swing.JLabel();
        vPais2 = new javax.swing.JLabel();
        vBloqueo = new javax.swing.JLabel();
        vBloqueo2 = new javax.swing.JLabel();
        vVisibilidad = new javax.swing.JLabel();
        vVisibilidad2 = new javax.swing.JLabel();
        jLabel21 = new javax.swing.JLabel();
        jLabel1 = new javax.swing.JLabel();
        vImagen2 = new javax.swing.JLabel();
        listEventos = new javax.swing.JComboBox();
        jLabel9 = new javax.swing.JLabel();
        jLabel13 = new javax.swing.JLabel();
        vRep = new javax.swing.JTextField();
        jLabel12 = new javax.swing.JLabel();
        vTipo = new javax.swing.JTextField();
        jScrollPane2 = new javax.swing.JScrollPane();
        listFechas = new javax.swing.JList();
        vFecha = new javax.swing.JTextField();
        jLabel14 = new javax.swing.JLabel();
        jLabel11 = new javax.swing.JLabel();
        jLabel15 = new javax.swing.JLabel();
        vNombre1 = new javax.swing.JTextField();
        jLabel2 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jScrollPane3 = new javax.swing.JScrollPane();
        jListWall = new javax.swing.JList();
        jLabel16 = new javax.swing.JLabel();
        jButton1 = new javax.swing.JButton();

        getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        vListaAmigos.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {

            },
            new String [] {
                "Nombre", "Nick", "Correo"
            }
        ) {
            boolean[] canEdit = new boolean [] {
                false, false, false
            };

            public boolean isCellEditable(int rowIndex, int columnIndex) {
                return canEdit [columnIndex];
            }
        });
        jScrollPane1.setViewportView(vListaAmigos);

        getContentPane().add(jScrollPane1, new org.netbeans.lib.awtextra.AbsoluteConstraints(630, 100, 340, 112));
        getContentPane().add(jNick, new org.netbeans.lib.awtextra.AbsoluteConstraints(137, 59, -1, -1));

        jLabel10.setFont(new java.awt.Font("Times New Roman", 0, 18));
        jLabel10.setText("RED - Listar usuarios");
        getContentPane().add(jLabel10, new org.netbeans.lib.awtextra.AbsoluteConstraints(19, 19, -1, -1));

        vBuscar.setText("Seleccionar");
        vBuscar.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                vBuscarMouseClicked(evt);
            }
        });
        getContentPane().add(vBuscar, new org.netbeans.lib.awtextra.AbsoluteConstraints(140, 130, -1, -1));

        jLabel3.setFont(new java.awt.Font("Tahoma", 0, 12));
        jLabel3.setText("Usuario : ");
        getContentPane().add(jLabel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(30, 90, -1, -1));

        TextField_BuscarUsuario.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                TextField_BuscarUsuarioKeyReleased(evt);
            }
        });
        getContentPane().add(TextField_BuscarUsuario, new org.netbeans.lib.awtextra.AbsoluteConstraints(100, 90, 100, -1));

        Table_buscarUsr.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {

            },
            new String [] {
                "Nombre", "Nick", "Correo"
            }
        ) {
            boolean[] canEdit = new boolean [] {
                false, false, false
            };

            public boolean isCellEditable(int rowIndex, int columnIndex) {
                return canEdit [columnIndex];
            }
        });
        jScrollPane4.setViewportView(Table_buscarUsr);

        getContentPane().add(jScrollPane4, new org.netbeans.lib.awtextra.AbsoluteConstraints(240, 80, 330, 90));

        vNombre.setText("Nombre:");
        getContentPane().add(vNombre, new org.netbeans.lib.awtextra.AbsoluteConstraints(40, 240, -1, -1));
        getContentPane().add(vNombre2, new org.netbeans.lib.awtextra.AbsoluteConstraints(112, 243, 267, -1));

        vNick.setText("Nick:");
        getContentPane().add(vNick, new org.netbeans.lib.awtextra.AbsoluteConstraints(40, 260, -1, -1));
        getContentPane().add(vNick2, new org.netbeans.lib.awtextra.AbsoluteConstraints(112, 263, 267, -1));

        vCorreo.setText("Correo:");
        getContentPane().add(vCorreo, new org.netbeans.lib.awtextra.AbsoluteConstraints(40, 280, -1, -1));
        getContentPane().add(vCorreo2, new org.netbeans.lib.awtextra.AbsoluteConstraints(112, 283, 267, -1));

        vNacimiento.setText("Nacimiento:");
        getContentPane().add(vNacimiento, new org.netbeans.lib.awtextra.AbsoluteConstraints(40, 300, -1, -1));
        getContentPane().add(vNacimiento2, new org.netbeans.lib.awtextra.AbsoluteConstraints(112, 303, 267, -1));

        vSexo.setText("Sexo (M/F):");
        getContentPane().add(vSexo, new org.netbeans.lib.awtextra.AbsoluteConstraints(40, 320, -1, -1));
        getContentPane().add(vSexo2, new org.netbeans.lib.awtextra.AbsoluteConstraints(112, 323, 267, -1));

        vCiudad.setText("Ciudad:");
        getContentPane().add(vCiudad, new org.netbeans.lib.awtextra.AbsoluteConstraints(40, 340, -1, -1));
        getContentPane().add(vCiudad2, new org.netbeans.lib.awtextra.AbsoluteConstraints(112, 343, 267, -1));

        vPais.setText("Pais:");
        getContentPane().add(vPais, new org.netbeans.lib.awtextra.AbsoluteConstraints(40, 360, -1, -1));
        getContentPane().add(vPais2, new org.netbeans.lib.awtextra.AbsoluteConstraints(112, 363, 267, -1));

        vBloqueo.setText("Bloqueado:");
        getContentPane().add(vBloqueo, new org.netbeans.lib.awtextra.AbsoluteConstraints(40, 380, -1, -1));
        getContentPane().add(vBloqueo2, new org.netbeans.lib.awtextra.AbsoluteConstraints(112, 383, 267, -1));

        vVisibilidad.setText("Visibilidad:");
        getContentPane().add(vVisibilidad, new org.netbeans.lib.awtextra.AbsoluteConstraints(40, 400, -1, -1));
        getContentPane().add(vVisibilidad2, new org.netbeans.lib.awtextra.AbsoluteConstraints(112, 403, 267, -1));

        jLabel21.setText("Amigos");
        getContentPane().add(jLabel21, new org.netbeans.lib.awtextra.AbsoluteConstraints(730, 50, 98, 34));

        jLabel1.setText("Imagen:");
        getContentPane().add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(40, 420, -1, 20));
        getContentPane().add(vImagen2, new org.netbeans.lib.awtextra.AbsoluteConstraints(112, 423, 267, -1));

        listEventos.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                listEventosActionPerformed(evt);
            }
        });
        getContentPane().add(listEventos, new org.netbeans.lib.awtextra.AbsoluteConstraints(430, 290, 180, -1));

        jLabel9.setText("Calendario de Eventos :");
        getContentPane().add(jLabel9, new org.netbeans.lib.awtextra.AbsoluteConstraints(430, 270, -1, -1));

        jLabel13.setText("Repetible / No Repetible");
        getContentPane().add(jLabel13, new org.netbeans.lib.awtextra.AbsoluteConstraints(660, 380, -1, -1));
        getContentPane().add(vRep, new org.netbeans.lib.awtextra.AbsoluteConstraints(800, 380, 107, -1));

        jLabel12.setText("Tipo:");
        getContentPane().add(jLabel12, new org.netbeans.lib.awtextra.AbsoluteConstraints(760, 340, -1, -1));

        vTipo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                vTipoActionPerformed(evt);
            }
        });
        getContentPane().add(vTipo, new org.netbeans.lib.awtextra.AbsoluteConstraints(800, 340, 107, -1));

        jScrollPane2.setViewportView(listFechas);

        getContentPane().add(jScrollPane2, new org.netbeans.lib.awtextra.AbsoluteConstraints(800, 450, 109, 70));
        getContentPane().add(vFecha, new org.netbeans.lib.awtextra.AbsoluteConstraints(800, 420, 107, -1));

        jLabel14.setText("Fecha");
        getContentPane().add(jLabel14, new org.netbeans.lib.awtextra.AbsoluteConstraints(760, 420, -1, -1));

        jLabel11.setText("Nombre:");
        getContentPane().add(jLabel11, new org.netbeans.lib.awtextra.AbsoluteConstraints(750, 300, -1, -1));

        jLabel15.setText("DETALLES DEl EVENTO:");
        getContentPane().add(jLabel15, new org.netbeans.lib.awtextra.AbsoluteConstraints(670, 270, -1, -1));
        getContentPane().add(vNombre1, new org.netbeans.lib.awtextra.AbsoluteConstraints(800, 300, 107, -1));
        getContentPane().add(jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(960, 480, -1, -1));
        getContentPane().add(jLabel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(830, 680, -1, -1));

        jScrollPane3.setViewportView(jListWall);

        getContentPane().add(jScrollPane3, new org.netbeans.lib.awtextra.AbsoluteConstraints(50, 470, 330, 190));

        jLabel16.setFont(new java.awt.Font("Times New Roman", 0, 14));
        jLabel16.setText("Entradas de muro");
        getContentPane().add(jLabel16, new org.netbeans.lib.awtextra.AbsoluteConstraints(50, 450, -1, -1));

        jButton1.setFont(new java.awt.Font("Tahoma", 0, 10));
        jButton1.setText("ver");
        jButton1.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jButton1MouseClicked(evt);
            }
        });
        getContentPane().add(jButton1, new org.netbeans.lib.awtextra.AbsoluteConstraints(90, 420, 50, 20));

        pack();
    }// </editor-fold>//GEN-END:initComponents

private void vBuscarMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_vBuscarMouseClicked
// TODO add your handling code here:

    if (Table_buscarUsr.getSelectedRow() == -1) {
        nomUsuario = Table_buscarUsr.getValueAt(0, 2).toString();
    } else {
        nomUsuario = Table_buscarUsr.getValueAt(Table_buscarUsr.getSelectedRow(), 2).toString();
    }
    Proxies.DataUsuario usr = amista.getUsuario(nomUsuario);
    vNombre2.setText(usr.getNombre());
    vNick2.setText(usr.getNick());
    vCorreo2.setText(usr.getCorreo());
    Calendar cal = usr.getFechaNac().toGregorianCalendar();
    Date date = cal.getTime();
    SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy");
    vNacimiento2.setText(sdf.format(date));
    vSexo2.setText(usr.getSexo());
    vCiudad2.setText(usr.getCiudad());
    vPais2.setText(usr.getPais());
    if (usr.isBloqueo() == true) {
        vBloqueo2.setText("SI");
    } else {
        vBloqueo2.setText("NO");
    }
    vVisibilidad2.setText(usr.getNivelVisibilidad().toString());
    //vImagen2.setText(usr.getImagen());
    actualizarCalendarioEventos();
    llenarMuro();
    llenarAmigos();

}//GEN-LAST:event_vBuscarMouseClicked

private void TextField_BuscarUsuarioKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_TextField_BuscarUsuarioKeyReleased
// TODO add your handling code here:


    TableModel modelo = Table_buscarUsr.getModel();
    final TableRowSorter<TableModel> sorter = new TableRowSorter<TableModel>(modelo);
    Table_buscarUsr.setRowSorter(sorter);
    String text = TextField_BuscarUsuario.getText();
    if (text.length() == 0) {
        sorter.setRowFilter(null);
    } else {
        sorter.setRowFilter(RowFilter.regexFilter(text));

    }



}//GEN-LAST:event_TextField_BuscarUsuarioKeyReleased

    private void actualizarCalendarioEventos() {

        listEventos.removeAllItems();
        DataEventoArray eventos = amista.listarCalendarioEventos(nomUsuario);
        if (!eventos.getItem().isEmpty()) {
            Iterator<Proxies.DataEvento> it = eventos.getItem().iterator();
            while (it.hasNext()) {
                listEventos.addItem(it.next().getNombre());
            }

        }
    }

    private void actualizarDetalleDeEvento() {

        DataEventoArray ev = amista.listarCalendarioEventos(nomUsuario);

        if (ev.getItem().isEmpty()) {
            return;
        }
        if (listEventos.getSelectedIndex() == -1) {
            return;
        }
        vNombre1.setText(null);
        vFecha.setText(null);
        vRep.setText(null);
        vTipo.setText(null);
        listFechas.removeAll();
//        DataEvento de = ev.get(listEventos.getSelectedItem().toString());
        Proxies.DataEvento de = null;
        Iterator<Proxies.DataEvento> it = ev.getItem().iterator();
        boolean sigue = true;
        while (it.hasNext() && sigue) {

            de = it.next();
            if (de.getNombre().equals(listEventos.getSelectedItem().toString())) {
                sigue = false;
            }

        }

        List<String> dias = de.getDiasDeSemana();
        Calendar cal = Calendar.getInstance();
        int i = dias.size();

        vNombre1.setText(de.getNombre());
        if (de.isRepetible()) {
            listFechas.setVisible(true);
            DefaultListModel model = new DefaultListModel();
            vRep.setText("Repetible");
            while (i != 0) {
                model.addElement(de.getDiasDeSemana().get(i - 1));
                listFechas.setModel(model);
                i--;
            }
        } else {
            vRep.setText("No Repetible");
            cal = de.getFecha().toGregorianCalendar();
            int dia = cal.get(Calendar.DATE);
            int mes = cal.get(Calendar.MONTH);
            int anio = cal.get(Calendar.YEAR);
            int hora = cal.get(Calendar.HOUR_OF_DAY);
            int min = cal.get(Calendar.MINUTE);
            vFecha.setText((mes + 1) + "/" + dia + "  " + hora + ":" + min);
            listFechas.setVisible(false);
        }
        vTipo.setText(de.getTipo().toString());
    }

private void listEventosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_listEventosActionPerformed
// TODO add your handling code here:
    actualizarDetalleDeEvento();
}//GEN-LAST:event_listEventosActionPerformed

private void vTipoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_vTipoActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_vTipoActionPerformed

private void jButton1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jButton1MouseClicked
// TODO add your handling code here:
    String correo;
    correo = Table_buscarUsr.getValueAt(Table_buscarUsr.getSelectedRow(), 2).toString();
    Proxies.DataUsuario du = amista.getUsuario(correo);
    String imagen = du.getImagen();
    ImageIcon i = new ImageIcon();
    i = cargarImagen(imagen);
    JOptionPane.showMessageDialog(null, i);
}//GEN-LAST:event_jButton1MouseClicked

    private ImageIcon cargarImagen(String s) {
        try {
            ImageIcon imagen = new ImageIcon(new URL(s));
            return imagen;
        } catch (java.net.MalformedURLException e) {
            JOptionPane.showMessageDialog(null, "Error al cargar imagen, asegurese que la extension del archivo sea .jpg,.png,.gif,etc");
        }
        return null;
    }

    private void llenarMuro() {
        String correo;
        correo = Table_buscarUsr.getValueAt(Table_buscarUsr.getSelectedRow(), 2).toString();
        Proxies.DataUsuario du = amista.getUsuario(correo);

        List<Proxies.DataContenido> cont = du.getMuro().getContenidos();
        Collections.reverse(cont);
        DefaultListModel model = new DefaultListModel();
        jListWall.setModel(model);
        Proxies.DataContenido c;


        ListIterator<Proxies.DataContenido> itera = cont.listIterator();
        while (itera.hasNext()) {
            c = itera.next();

            if (c.getUrl() == null) {

                du = c.getAutor();
                String es = "____________________________________________________";
                model.addElement(du.getNombre().toString());
                model.addElement(c.getTitulo().toString());
                model.addElement(c.getCuerpo().toString());
                model.addElement(es);
            } else {
                ImageIcon img;
                du = c.getAutor();
                img = cargarImagen(c.getUrl());
                img.setDescription(du.getNombre().toString());
                String s = img.getDescription().toString();
                String es = "____________________________________________________";
                model.addElement(s);
                model.addElement(img);
                model.addElement(es);
            }

        }
    }

    private void llenarAmigos() {

        DataUsuarioArray amis = amista.listarDAmigos(nomUsuario);
        DefaultTableModel model = (DefaultTableModel) vListaAmigos.getModel();
        model.setRowCount(0);
        if (!amis.getItem().isEmpty()) {
            Object[] fila = new Object[3];
            Iterator<Proxies.DataUsuario> itera = amis.getItem().iterator();
            Proxies.DataUsuario usr;
            while (itera.hasNext()) {
                usr = itera.next();
                fila[0] = usr.getNombre();
                fila[1] = usr.getNick();
                fila[2] = usr.getCorreo();
                model.addRow(fila);
            }
        }

    }

    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(ListarUsuarios.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(ListarUsuarios.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(ListarUsuarios.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(ListarUsuarios.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                new ListarUsuarios().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JTable Table_buscarUsr;
    private javax.swing.JTextField TextField_BuscarUsuario;
    private javax.swing.JButton jButton1;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel16;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel21;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JList jListWall;
    private javax.swing.JLabel jNick;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JScrollPane jScrollPane4;
    private javax.swing.JComboBox listEventos;
    private javax.swing.JList listFechas;
    private javax.swing.JLabel vBloqueo;
    private javax.swing.JLabel vBloqueo2;
    private javax.swing.JButton vBuscar;
    private javax.swing.JLabel vCiudad;
    private javax.swing.JLabel vCiudad2;
    private javax.swing.JLabel vCorreo;
    private javax.swing.JLabel vCorreo2;
    private javax.swing.JTextField vFecha;
    private javax.swing.JLabel vImagen2;
    private javax.swing.JTable vListaAmigos;
    private javax.swing.JLabel vNacimiento;
    private javax.swing.JLabel vNacimiento2;
    private javax.swing.JLabel vNick;
    private javax.swing.JLabel vNick2;
    private javax.swing.JLabel vNombre;
    private javax.swing.JTextField vNombre1;
    private javax.swing.JLabel vNombre2;
    private javax.swing.JLabel vPais;
    private javax.swing.JLabel vPais2;
    private javax.swing.JTextField vRep;
    private javax.swing.JLabel vSexo;
    private javax.swing.JLabel vSexo2;
    private javax.swing.JTextField vTipo;
    private javax.swing.JLabel vVisibilidad;
    private javax.swing.JLabel vVisibilidad2;
    // End of variables declaration//GEN-END:variables
}
